It's not correct to call endwin() if initscr() fails, and it crashes
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Oct 2006 17:36:26 +0000 (18:36 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Oct 2006 17:36:26 +0000 (18:36 +0100)
commitafe801a3be7876408534f48b21e7e11a799ddf0d
treef31799b8ea9f289181edaba566e4c3f4c5aca125
parent7b7b7c2feffe2ae844a5691665000d085d938c3a
It's not correct to call endwin() if initscr() fails, and it crashes
older libcurses implementations.

Signed-off-by: John Levon <john.levon@sun.com>
tools/xenstat/xentop/xentop.c